home *** CD-ROM | disk | FTP | other *** search
- !!Script
- // Copyright ⌐ 1997-1999 - Modelworks Software
- // @Modified build 261 cm19990130 - corrected typos
-
- // Insert script helper for:
-
- /**
- @Object: DocumentTemplate
- @Property: specialKeywordCharacters - use this property to add additional
- characters to keywords that are to be syntax colored. Keywords include alpha
- character, numeric characters, the '_' character and any characters defined
- by this property. Note that keywords are case sensitive. To support multiword
- keywords (e.g. "SELECT FROM") include a space in the specialKeywordCharacters
- value (e.g., " -").
- @Syntax: documentTemplate.specialKeywordCharacters
- @Summary: specialKeywordCharacters - define additional keyword characters
- */
-
- function DoCommand()
- {
- var editor = getActiveEditor();
- if (editor)
- {
- var selection = editor.getSelection();
- editor.replace("documentTemplate.specialKeywordCharacters", selection);
- editor.setActive("Insert specialKeywordCharacters");
- }
- }
-
- !!/Script
-